package script.functions

import com.tang.script.functions.ScriptFunction

@ScriptFunction(functionName = "测试")
class Test {
    static def test(num1, num2) {
        try {
            1 / 0;
        } catch (Exception e) {
            println "抛异常了！"
        }
        return num1 > num2
    }
}

return Test